﻿using System.Threading.Tasks;

namespace Extensions.Interceptor.Event;
/// <summary>
/// 事件处理的接口
/// </summary>
public interface IEventHandler
{
    /// <summary>
    /// 事件名称
    /// </summary>
    string EventName { get; }
    /// <summary>
    /// 事件的处理
    /// </summary>
    /// <returns></returns>
    Task Handle();
}